#ifndef ADDPRIVILEGEDIALOG_H
#define ADDPRIVILEGEDIALOG_H

#include <QDialog>
#include <QListWidget>
#include <QDebug>

namespace Ui {
    class AddPrivilegeDialog;
}

class AddPrivilegeDialog : public QDialog
{
    Q_OBJECT

public:
    AddPrivilegeDialog(QWidget *parent = 0);
    //AddPrivilegeDialog(QWidget *parent, QListWidget *list);
    ~AddPrivilegeDialog();

signals:
    void sendSelectedUser(const QString &);

public slots:
    void receiveUserList(QListWidget *);

private slots:
    void on_selectButton_clicked();

    void on_cancelButton_clicked();


private:
    Ui::AddPrivilegeDialog *ui;
    //QListWidget *list;
};

#endif // ADDPRIVILEGEDIALOG_H
